package com.toolkit.util;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author qdl
 * @descripton TODO 空港嘉华 url配置
 * @Date 2024/12/2 15:39
 */
@Component
@ConfigurationProperties(prefix = "airport")
@Data
public class AirportUrlUtil {

    private String baseUrl;
    private String corpId;
    private String key;

    /**
     * 空港单点登录接口
     * @return
     */
    public String getLogin() {
        return baseUrl +"/tmcgw/tmcapi/avic/sso";
    }


}
